/**
 * Created by JasonChou on 16/5/3.
 */
var Wx = {};


/**
 * 微信支付域名以?结尾
 */
Wx.fixAndroidPaySafeUrlBug = function () {

    if (!location.search) {
        var change = '';

        if (location.hash) {
            change = location.hash;
        }

        change = '?1' + change;//会覆盖location.hash
    }

    if (change)
        location.replace(change);
};


export {Wx};